package service;

import Dao.impl.StudentDaoImpl;
import Dao.studentDao;
import domain.solr;
import domain.student;

import java.sql.SQLException;
import java.util.List;

public interface studentService {
    /*1.创建一个数据层的对象*/
   studentDao stu= new StudentDaoImpl();

   /*假如我要去添加某一些东西，但是我的原方法需要保留。*/
   public student login(student student) throws SQLException ;

   public List<student> findAll(String fzid,String studentname) throws SQLException ;

    public  List<solr> findSolr(String name);

    public List<student> finduserSolr();

}
